package com.hava.framework.springmvc.api;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by zhanpeng on 15-2-27.
 */

@Controller
@RequestMapping(value = "/api")
public class ApiController {
    @RequestMapping(method = RequestMethod.GET)
    public String list() {
        return "api/list";
    }
}